<?php
/* post type for benefits */
$labels = array(
    'name'                  => _x('Benefits', 'post type general name', 'dt'),
    'singular_name'         => _x('Benefits', 'post type singular name', 'dt'),
    'add_new'               => _x('Add New', 'post type new', 'dt'),
    'add_new_item'          => __('Add New Benefit', 'dt'),
    'edit_item'             => __('Edit', 'dt'),
    'new_item'              => __('New Benefit', 'dt'),
    'view_item'             => __('View', 'dt'),
    'search_items'          => __('Search', 'dt'),
    'not_found'             =>  __('No Benefits Found', 'dt'),
    'not_found_in_trash'    => __('No Benefits Found in Trash', 'dt'), 
    'parent_item_colon'     => '',
    'menu_name'             => 'Benefits'
);

$img = get_template_directory_uri(). '/images/admin_ico_benefits.png';

$args = array(
    'labels'                => $labels,
    'public'                => false,
    'publicly_queryable'    => false,
    'show_ui'               => true, 
    'show_in_menu'          => true, 
    'query_var'             => true,
    'rewrite'               => false,
    'capability_type'       => 'post',
    'has_archive'           => false, 
    'hierarchical'          => false,
    'menu_position'         => 29,
    'menu_icon'		        => $img,
    'supports'              => array( 'title', 'editor', 'thumbnail' )
); 
register_post_type( 'dt_benefits', $args );